package cn.ziyoufa.smart.smartschool.okhttp.listener;

/**
 * @author 赵泽东
 * @class json转实体对象
 *
 */
public class DisposeDataHandle
{
	public DisposeDataListener mListener = null;
	public Class<?> mClass = null;
	public String mSource = null;
	/**
	 *
	 * @function 只传如listener，直接返回到应用层
	 *
	 */
	public DisposeDataHandle(DisposeDataListener listener)
	{
		this.mListener = listener;
	}
	/**
	 *
	 * @function 如果还传如Class，还要转化成对应的实体对象
	 *
	 */
	public DisposeDataHandle(DisposeDataListener listener, Class<?> clazz)
	{
		this.mListener = listener;
		this.mClass = clazz;
	}

	public DisposeDataHandle(DisposeDataListener listener, String source)
	{
		this.mListener = listener;
		this.mSource = source;
	}
}